package com.haoxi.gateway.main;

import java.util.Date;
import com.haoxi.gateway.util.db.DBConnectUtil;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.haoxi.gateway.cmppmsg.CMPPSubmitMessage;

public class test1 {
    private static Log log = LogFactory.getLog ( test1.class );
public static void main(String[] args){
    try{
        String aa= "   abcd13510261253    ".trim();
        int i = aa.length();
        System.out.println(aa.substring(i-11));
        System.out.println(aa.substring(0,i-11));
       // log.debug(DBConnectUtil.open("gateway"));
    }catch(Exception e){
        log.debug(e.getMessage());
    }
    //byte[] sss = submit.getBytes();
//    for(int i=0 ;i<submit.getBytes().length;i++){
//        log.debug(sss[i])
    
}

}
